package br.mia.unifor.olio.artifact;

import br.mia.unifor.crawler.executer.artifact.VirtualMachineType;

public class OlioInstanceType extends VirtualMachineType {
	private VirtualMachineType instancetype;

	public void setInstanceType(VirtualMachineType type) {
		
		this.instancetype = type;
		super.setProvider(type.getProvider());
		super.setCpu(type.getCpu());
		super.setId(type.getId());
		super.setProperties(type.getProperties());
		super.setproviderProfile(type.getProviderProfile());
		super.setRam(type.getRam());
	}

	public VirtualMachineType getInstanceType() {
		return instancetype;
	}
}
